package com.xkdx.caipiao.presistence.bank;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.module.network.AbsAction;

public class SetDefaltBankAction extends AbsAction {
String uid, logintoken,id;

	public SetDefaltBankAction(String id, String logintoken, String uid) {
		this.id = id;
		this.logintoken = logintoken;
		this.uid = uid;

	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("logintoken", logintoken);
		map.put("uid", uid);

		String json = constructJson(map);
		Parameter parameter = new Parameter("Bank", "SetDefault", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
